package b0.repository;


import b0.entity.User;
import org.springframework.data.jpa.repository.JpaRepository;

public interface UserRepository extends JpaRepository<User,Integer> {
    //查询用户通过密码和用户名
    public User getByPasswordAndUsername(String username,String password);
    public User getByUsername(String username);

    public User getByName(String name);
}
